<extend name="Public/base" />

<block name="body">

    <form action="__SELF__" method="post" name="theForm" enctype="multipart/form-data">
        <table width="100%" id="general-table">
            <tr>
                <td class="label">分类名称:</td>
                <td>
                    <input type='text' name='cname'  value="{$info.cname}" />
                </td>
            </tr>
            <tr>
                <td class="label">上级分类:</td>
                <td>
                    <select name="parent_id">
                        <option value="0">顶级分类</option>
                        <volist name="data" id="vo">
                            <option value="{$vo.id}" <eq name="info.parent_id" value="$vo.id">selected="selected"</eq>>{$vo.lev|str_repeat='&nbsp;',###}{$vo.cname}</option>
                        </volist>
                    </select>
                </td>
            </tr>
            <input type="hidden" name="id" value="{$Think.get.id}">
        </table>
        <div class="button-div">
            <input type="submit" value=" 确定 " />
            <input type="reset" value=" 重置 " />
        </div>
    </form>
</block>